#include "Settings.h"
#include "ui_Settings.h"

Settings::Settings(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Settings)
{
    ui->setupUi(this);
    setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint);
}

Settings::~Settings()
{
    delete ui;
}

void Settings::on_toolButton_2_clicked()
{
         this->showMinimized();
}


void Settings::on_toolButton_clicked()
{
    this->close();
}


void Settings::on_pushButton_clicked()
{
     ui->stackedWidget->setCurrentIndex(0);
}


void Settings::on_pushButton_3_clicked()
{
     ui->stackedWidget->setCurrentIndex(1);
}


void Settings::on_pushButton_4_clicked()
{
     ui->stackedWidget->setCurrentIndex(2);
}

